package com.itheima.health.service;

public interface SmsService {
    /**
     * @Author: 位帅帅
     * @Date: 20:04 2021/1/11
     * @Params: [type, telephone]
     * @RerurnType: java.lang.Integer
     * @Description: 生成验证码
    */
    Integer sendValidateCode(String type, String telephone);

    /**
     * @Author: 位帅帅
     * @Date: 20:29 2021/1/11
     * @Params: []
     * @RerurnType: boolean
     * @Description: 验证验证码
    */
    boolean checkValidateCode(String validateCodeType, String telephone, String validateCode);
}
